home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
modem
/
ezdia175.zip
/
EZ4VB.ZIP
/
CONNECT.FRM
next >
Wrap
Text File
|
1996-01-13
|
5KB
|
152 lines
VERSION 2.00
Begin Form frmConnect
BackColor = &H00C0C0C0&
BorderStyle = 3 'Fixed Double
Caption = "Connect"
ClientHeight = 2595
ClientLeft = 2520
ClientTop = 2970
ClientWidth = 4185
Height = 3000
Left = 2460
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 173
ScaleMode = 3 'Pixel
ScaleWidth = 279
Top = 2625
Width = 4305
Begin SSFrame Frame3D1
Caption = "Status"
Font3D = 0 'None
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 1065
Left = 120
TabIndex = 3
Top = 990
Width = 3945
Begin Label lblStatus
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "Initializing..."
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 225
Left = 270
TabIndex = 4
Top = 480
Width = 3435
End
End
Begin CommandButton cmdConnect
Caption = "cmdConnect"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 285
Left = 150
TabIndex = 2
Top = 2220
Visible = 0 'False
Width = 1215
End
Begin MsgBlaster MsgBlaster1
Prop8 = "Click on ""..."" for the About Box ---->"
Prop9 = "Click on ""..."" for the Message Center --->"
Left = 3510
MsgList = CONNECT.FRX:0000
MsgPassage = CONNECT.FRX:0064
TargetName = "frmConnect"
Top = 2130
UserMsgs = CONNECT.FRX:0096
Version = "2.2a"
End
Begin CommandButton cmdCancel
Caption = "&Cancel"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 330
Left = 1560
TabIndex = 1
Top = 2190
Width = 1050
End
Begin Label Label1
BackColor = &H00C0C0C0&
BackStyle = 0 'Transparent
Caption = "Accessing EZDialup Host"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 195
Left = 1230
TabIndex = 0
Top = 360
Width = 1905
End
Begin Image Image2
Height = 480
Left = 180
Picture = CONNECT.FRX:0433
Top = 240
Width = 480
End
End
Option Explicit
Dim iAbort As Integer
Dim sSessionIni As String, sSessionLnk As String
Sub cmdCancel_Click ()
Call AbortSession
frmMainForm.Enabled = True
Me.Hide
End Sub
Sub cmdConnect_Click ()
Show
DoEvents
sSessionIni = App.Path & "\CLIENT1.INI"
sSessionLnk = App.Path & "\EXAMPLE1.EZD"
Call StartSession(sSessionIni & " " & sSessionLnk, Me.hWnd)
End Sub
Sub Form_Load ()
Center Me
End Sub
Sub Form_QueryUnload (Cancel As Integer, UnloadMode As Integer)
Cancel = True
cmdCancel_Click
End Sub
Sub MsgBlaster1_Message (MsgVal As Integer, wParam As Integer, lParam As Long, ReturnVal As Long)
Dim iResult As Long, sMessage As String
Select Case MsgVal
Case WM_USER + 145, WM_USER + 146
sMessage = Space$(128)
iResult = lstrcpy(sMessage, lParam)
lblStatus = sMessage
End Select
End Sub